
package com.app.piemoment.entity;

import android.os.Parcel;
import android.os.Parcelable;

public class Photo implements Parcelable{
	private String filepath;

	public Photo() {
		super();
	}

	Photo(Parcel in) {
		this.filepath = in.readString();
	}

	public static final Parcelable.Creator<Photo> CREATOR = new Creator<Photo>() {
		@Override
		public Photo[] newArray(int size) {
			return new Photo[size];
		}

		@Override
		public Photo createFromParcel(Parcel source) {
			return new Photo(source);
		}
	};

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(filepath);
	}
	
	
	public String getFilepath() {
		return filepath;
	}

	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}
	
}
